﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>Latex公式插件示例</title>
	<script type="text/javascript" src="ueditor.config.js" charset="utf-8"></script>
    <script type="text/javascript" src="ueditor.all.min.js" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8" src="kityformula-plugin/addKityFormulaDialog.js"></script>
    <script type="text/javascript" charset="utf-8" src="kityformula-plugin/getKfContent.js"></script>
    <script type="text/javascript" charset="utf-8" src="kityformula-plugin/defaultFilterFix.js"></script>
    <link type="text/css" rel="Stylesheet" href="demo.css" />
    <link type="text/css" rel="Stylesheet" href="zyoffice/js/skygqbox.css" />
    <script type="text/javascript" src="zyoffice/js/json2.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="zyoffice/js/jquery-1.4.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="zyoffice/js/skygqbox.js" charset="utf-8"></script>
    <script type="text/javascript" src="zyoffice/js/w.js" charset="utf-8"></script>
    <script type="text/javascript" src="demo.js" charset="utf-8"></script>
</head>
<body>
    <div id="demos"></div>
    <div id="wdpst"></div>
	<textarea name="后台取值的key" id="myEditor">这里写你的初始化内容</textarea>
	<script type="text/javascript">
        zyOffice.getInstance({
            api: "http://localhost:13710/zyoffice/word/convert",
            ui:{render:"wdpst"}
        });//加载控件

	    var ue = UE.getEditor('myEditor',{
            toolbars: [[
                'fullscreen', 'source', '|',
                'bold', 'italic', 'underline', '|', 'fontsize', '|', 'kityformula', 'preview'
            ]]
        });

	    ue.ready(function ()
	    {
	    });

	</script>
</body>
</html>